/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package register.model;
import javax.swing.*;
/**
 *
 * @author Vitamin
 */
public class ButtonModel {

    private JButton register;
    private JButton cancel;
    private JButton generate;
    private JButton snap;
    private JTextField regDate;
    private JTextField expDate;
    private JTextField dormitory;
    private JComboBox college;
    private JComboBox title;
    private JComboBox degree;
    private JComboBox department;
    private JComboBox mCourse;
    private JComboBox group;
    private JCheckBox stBook;
    private JCheckBox stCourse;
    private JCheckBox tBook;
    private JCheckBox stfBook;
    private JCheckBox stfAO;
    private JCheckBox stfCA;
    private JCheckBox stfLib;
    private JCheckBox stfpio;
    private JCheckBox stfsaa;
    private JCheckBox stfsao;
    private JTextField rid;
    private JTextField cid;
    private JTextField psword;
    private JTextField cpsword;
    private JLabel photo;
    private JLabel path;

    public void setRegister(JButton temp)
    {
        this.register=temp;
    }

    public JButton getRegister()
    {
        return this.register;
    }

    public void setCancel(JButton temp)
    {
        this.cancel=temp;
    }

    public JButton getCancel()
    {
        return this.cancel;
    }

    public void setGenerate(JButton temp)
    {
        this.generate=temp;
    }

    public JButton getGenerate()
    {
        return this.generate;
    }

    public void setRegDate(JTextField temp)
    {
       this.regDate=temp;
    }

    public JTextField getRegDate()
    {
        return this.regDate;
    }

    public void setExpDate(JTextField temp)
    {
        this.expDate=temp;
    }

    public JTextField getExpDate()
    {
        return this.expDate;
    }

    public void setDormitory(JTextField temp)
    {
        this.dormitory=temp;
    }

    public JTextField getDormitory()
    {
        return this.dormitory;
    }

    public void setCollege(JComboBox temp)
    {
        this.college=temp;
    }

    public JComboBox getCollege()
    {
        return this.college;
    }

    public void setTitle(JComboBox temp)
    {
        this.title=temp;
    }

    public JComboBox getTitle()
    {
        return this.title;
    }

    public void setDegree(JComboBox temp)
    {
        this.degree=temp;
    }

    public JComboBox getDegree()
    {
        return this.degree;
    }

    public void setDepartment(JComboBox temp)
    {
        this.department=temp;
    }

    public JComboBox getDepartment()
    {
        return this.department;
    }

    public void setMajorCourse(JComboBox temp)
    {
        this.mCourse=temp;
    }

    public JComboBox getMajorCourse()
    {
        return this.mCourse;
    }

    public void setStBook(JCheckBox temp)
    {
        this.stBook=temp;
    }

    public JCheckBox getStBook()
    {
        return this.stBook;
    }

    public void setStCourse(JCheckBox temp)
    {
        this.stCourse=temp;
    }

    public JCheckBox getStCourse()
    {
        return this.stCourse;
    }

    public void setTBook(JCheckBox temp)
    {
        this.tBook=temp;
    }

    public JCheckBox getTBook()
    {
        return this.tBook;
    }

    public void setStfBook(JCheckBox temp)
    {
        this.stfBook=temp;
    }

    public JCheckBox getStfBook()
    {
        return this.stfBook;
    }

    public void setStfAO(JCheckBox temp)
    {
        this.stfAO=temp;
    }

    public JCheckBox getStfAO()
    {
        return this.stfAO;
    }

    public void setStfCA(JCheckBox temp)
    {
        this.stfCA=temp;
    }

    public JCheckBox getStfCA()
    {
        return this.stfCA;
    }

    public void setStfLib(JCheckBox temp)
    {
        this.stfLib=temp;
    }

    public JCheckBox getStfLib()
    {
        return this.stfLib;
    }

    public void setStfPIO(JCheckBox temp)
    {
        this.stfpio=temp;
    }

    public JCheckBox getStfPIO()
    {
        return this.stfpio;
    }

    public void setStfSAA(JCheckBox temp)
    {
        this.stfsaa=temp;
    }

    public JCheckBox getStfSAA()
    {
        return this.stfsaa;
    }

    public void setStfSAO(JCheckBox temp)
    {
        this.stfsao=temp;
    }

    public JCheckBox getStfSAO()
    {
        return this.stfsao;
    }

    public void setGroup(JComboBox temp)
    {
        this.group=temp;
    }

    public JComboBox getGroup()
    {
        return this.group;
    }

    public void setRID(JTextField temp)
    {
        this.rid=temp;
    }

    public JTextField getRID()
    {
        return this.rid;
    }

    public void setCID(JTextField temp)
    {
        this.cid=temp;
    }

    public JTextField getCID()
    {
        return this.cid;
    }

    public void setPassword(JTextField temp)
    {
        this.psword=temp;
    }

    public JTextField getPassword()
    {
        return this.psword;
    }

    public void setConfirmPassword(JTextField temp)
    {
        this.cpsword=temp;
    }

    public JTextField getConfirmPassword()
    {
        return this.cpsword;
    }

    public void setPhoto(JLabel temp)
    {
        photo=temp;
    }

    public JLabel getPhoto()
    {
        return this.photo;
    }

    public void setPath(JLabel temp)
    {
        this.path=temp;
    }

    public JLabel getPath()
    {
        return this.path;
    }

    public void setSnap(JButton temp)
    {
        this.snap=temp;
    }

    public JButton getSnap()
    {
        return this.snap;
    }

}





